package com.studio701.carguard.service.imp;

import com.studio701.carguard.pojo.ReportHumanHeartrate;
import com.studio701.carguard.mapper.ReportHumanHeartrateMapper;
import com.studio701.carguard.service.IReportHumanHeartrateService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author xjc
 * @since 2022-03-28
 */
@Service
public class ReportHumanHeartrateServiceImpl extends ServiceImpl<ReportHumanHeartrateMapper, ReportHumanHeartrate> implements IReportHumanHeartrateService {

    @Autowired
    ReportHumanHeartrateMapper reportHumanHeartrateMapper;

    @Override
    public ReportHumanHeartrate getByRhId(Integer id) {
        return reportHumanHeartrateMapper.getByRhId(id);
    }
}
